different ways to reverse a string in c